@extends('layout.home')
@section('title','发布Center')
@section('content')	


<div class="aw-container-wrap">
	<div class="container aw-publish aw-publish-article">
		<div class="row">
			<div class="aw-content-wrap clearfix">
				<div class="col-sm-12 col-md-9 aw-main-content">
					<!-- tab 切换 -->
					<ul class="nav nav-tabs aw-nav-tabs active">
						<li class="active">
						<a href="/homes/publish/">文章</a></li>
						<li><a href="/homes/question/">问题</a></li>
						<h2 class="hidden-xs"><i class="icon icon-ask"></i> 发起</h2>
					</ul>
					<!-- end tab 切换 -->
					<form action="/homes/publish" method="post" id="question_form" >
					   {{csrf_field()}}
						<input type="hidden" name="add_time" id="add_time" value="{{date('Y-m-d',time())}}" />
						<input type="hidden" name="uid" id="uid" value="{{session('id')}}" />

					<div class="aw-mod aw-mod-publish">
							<div class="mod-body">
								<h3>文章标题:</h3>
								<!-- 文章标题 -->
								<div class="aw-publish-title">
									<input type="text" name="title" value="" class="form-control" />
									<div class="aw-dropdown aw-question-dropdown">
										<i class="aw-icon i-dropdown-triangle active"></i>
										<p class="title">没有找到相关结果</p>
										<ul class="aw-question-dropdown-list"></ul>
									</div>
									</div>
								<!-- end 文章标题 -->
								<h3>文章内容:</h3>
								<div class="aw-mod aw-editor-box">
									<div class="mod-head">
										<div class="wmd-panel">
											<textarea class="wmd-input form-control autosize editor" id="wmd-input" rows="15" name="message"></textarea>
								        </div>
									</div>
								</div>						
								</div>
							<div class="mod-footer clearfix">
								<span class="aw-anonymity"></span>
								<button class="btn btn-large btn-success btn-publish-submit" id="publish_submit">确认发起</button>
							</div>
						</div>
					</form>
				</div>
				<!-- 侧边栏 -->
				<div class="col-sm-12 col-md-3 aw-side-bar hidden-xs">
					<!-- 文章发起指南 -->
					<div class="aw-mod publish-help">
						<div class="mod-head">
							<h3>文章发起指南</h3>
						</div>
						<div class="mod-body">
							<p><b>• 文章标题:</b> 请用准确的语言描述您发布的文章思想</p>
							<p><b>• 文章补充:</b> 详细补充您的文章内容, 并提供一些相关的素材以供参与者更多的了解您所要文章的主题思想</p>
						</div>
					</div>
					<!-- end 文章发起指南 -->
				</div>
				<!-- end 侧边栏 -->
			</div>
		</div>
	</div>
</div>



@endsection